/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package org.javanile.uxml;

/**
 *
 * @author cicciodarkast
 */
public class uXmlNode {
	public int[] n;

	public uXmlNode() {
		n = new int[40];
	}
	public void node_open	(int c) {n[0]=c;}
	public void node_close	(int c) {n[1]=c;}

	public void cont_open	(int c) {n[2]=c;}
	public void cont_close	(int c) {n[3]=c;}

	public void attr_open	(int c) {n[10]=c;}
	public void value_open	(int c) {n[10]=c;}
	public void value_close	(int c) {n[10]=c;}

	public int end() {
		return n[1]+1;
	}
}


